package cn.iocoder.lw.module.core.controller.admin.house.vo;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.math.BigDecimal;

import cn.idev.excel.annotation.ExcelProperty;

/**
 * 核心-房源 Excel Import VO
 *
 * @author Lw源码
 */
@Data
public class CoreHouseImportExcelVO {

    @ExcelProperty("项目编号")
    @NotNull(message = "项目编号不能为空")
    private Long projectId;

    @ExcelProperty("小区名称")
    @NotBlank(message = "小区名称不能为空")
    @Size(max = 100, message = "小区名称长度不能超过100个字符")
    private String communityName;

    @ExcelProperty("楼栋")
    @NotBlank(message = "楼栋不能为空")
    @Size(max = 50, message = "楼栋长度不能超过50个字符")
    private String building;

    @ExcelProperty("楼层")
    @NotBlank(message = "楼层不能为空")
    @Size(max = 20, message = "楼层长度不能超过20个字符")
    private String floor;

    @ExcelProperty("房间号")
    @NotBlank(message = "房间号不能为空")
    @Size(max = 20, message = "房间号长度不能超过20个字符")
    private String roomNumber;

    @ExcelProperty("经度")
    private BigDecimal longitude;

    @ExcelProperty("纬度")
    private BigDecimal latitude;

    @ExcelProperty("水表编号")
    @Size(max = 50, message = "水表编号长度不能超过50个字符")
    private String waterMeterNumber;

    @ExcelProperty("电表编号")
    @Size(max = 50, message = "电表编号长度不能超过50个字符")
    private String electricityMeterNumber;

    @ExcelProperty("门锁编号")
    @Size(max = 50, message = "门锁编号长度不能超过50个字符")
    private String lockNumber;

    @ExcelProperty("房源类型")
    private Integer houseType;

    @ExcelProperty("房源面积")
    private BigDecimal area;

    @ExcelProperty("房源状态")
    private Integer status;

    @ExcelProperty("租金")
    private BigDecimal rent;

    @ExcelProperty("房源描述")
    @Size(max = 500, message = "房源描述长度不能超过500个字符")
    private String description;

    @ExcelProperty("联系人姓名")
    @Size(max = 50, message = "联系人姓名长度不能超过50个字符")
    private String contactName;

    @ExcelProperty("联系人手机号")
    @Size(max = 20, message = "联系人手机号长度不能超过20个字符")
    private String contactPhone;

    @ExcelProperty("备注")
    @Size(max = 500, message = "备注长度不能超过500个字符")
    private String remark;

}